<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>文本素材</title>
	<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/hdjs/hdjs.css"/>
</head>
<body>
	<h1>文本素材</h1>

	<a href="{{U('addText')}}" class="hd-btn">添加</a>
<table class="hd-table hd-table-list">
    <thead>
    <tr>
        <td>ID</td>
        <td>关键词</td>
        <td>内容</td>
    </tr>
    </thead>
    <tbody>
    	{{foreach from="$data" key="$k" value="$v"}}
    <tr>
        <td>{{$v['id']}}</td>
        <td>{{$v['keyword']}}</td>
        <td>{{$v['content']}}</td>
    </tr>
    {{endforeach}}
    </tbody>
</table>

</body>
</html>